#ifndef __THREAD_POOL_H__
#define __THREAD_POOL_H__
#include<vector>
class Thread;

class ThreadPool
{
private:
    std::vector<Thread*>m_pool;//线程放在vector中
    int numberOfThread;//线程的数目
public:
    ThreadPool(int);
    ~ThreadPool();
    int GetNumberOfThread()const;
    int GetSubThreadSocketPairFirst()const;
};

#endif